package cn.zh.user.mapper;

import cn.zh.base.dto.LoginDto;
import cn.zh.base.mapper.BaseMapper;
import cn.zh.user.domain.Logininfo;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author itsource
 * @since 2023-03-04
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {

    Logininfo findByUserId(Long userId);

    Logininfo findByAccount(LoginDto dto);
}
